#include "pch.h"
#include "MyAPI.h"
#include "InstanceMgr.h"

void SetProcess(HWND handle)
{
	sInstanceMgr.GetSender().RegistHandle(handle);
}

void SendString(ULONG key,string msg)
{
	sInstanceMgr.GetSender().SendString(key,msg);
}

void RegistCallBack(Msg_Callback callback)
{
	sInstanceMgr.GetReciver().RegistCallBack(callback);
}

void RegistHook()
{
	sInstanceMgr.GetReciver().RegistHook();
}

void RemoveHook()
{
	sInstanceMgr.GetReciver().RemoveHook();
}
